﻿@{
    ViewBag.Title = "Project Management Web - Pagina de Administración";
}

@*<h2>Project Management Web Admin Page</h2>*@
<fieldset>

    <legend>Bienvenido</legend>
    <h1>@User.Identity.Name</h1>

    @{
        
        projectManagementWeb.Controllers.AdminController controlLayer = new projectManagementWeb.Controllers.AdminController();

        
        
    //projectManagementWeb.Controllers.DeveloperController controlLayer = new projectManagementWeb.Controllers.DeveloperController();
        projectManagementWeb.Models.Admin.UserDataModel userData = controlLayer.GetUserData(@User.Identity.Name);
    <h2>@userData.UserCompleteName</h2>
    <h2>@userData.UserMail</h2>
    
   }
   <div>

    @*@Html.ActionLink("Administrar Cuentas", "DeveloperReportsForm", new AjaxOptions { HttpMethod="GET"})*@
    @Html.ActionLink("Administrar Cuentas","AdminAccounts")
    <br />
@*    @Html.ActionLink("Lista de Tareas", "DeveloperTasksForm")
    <br />*@
</div>

</fieldset>